package com.dm.cloud.images.common.mode;

import com.dm.cloud.images.common.po.ImagesAppArrange;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "ImagesAppArrangeExtend")
public class ImagesAppArrangeExtend extends ImagesAppArrange {
    @Schema(description = "执行情况:0未执行  1正在执行 2完成")
    private Integer operateStatus=0;

    @Schema(description = "执行结果:0暂无结果 1成功  2异常  3超时")
    private Integer containerResult=0;

    @Schema(description = "如果有异常，则显示异常信息")
    private String errStr;

    @Schema(description = "任务ID")
    private String taskId;

}
